package com.xxl.job.executor.mybatis.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * (JobUser)表实体类
 *
 * @author makejava
 * @since 2020-07-13 15:54:52
 */
@SuppressWarnings("serial")
public class JobUser extends Model<JobUser> {
    //用户名
    private String username;
    //密码
    private String password;
    //手机
    private String phone;
    //邮箱
    private String mail;
    //主键
    @TableId(value = "ID",type = IdType.AUTO)
    private Integer id;


    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "JobUser{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", phone='" + phone + '\'' +
                ", mail='" + mail + '\'' +
                ", id=" + id +
                '}';
    }
}